package day014.fanXing.demo06;

import java.sql.Array;
import java.util.ArrayList;

public class Test {
    public static void main(String[] args) {
        ArrayList<Integer> list1 = new ArrayList<>();
        ArrayList<Number> list2 = new ArrayList<>();
        ArrayList<String> list3 = new ArrayList<>();
        ArrayList<Object> list4 = new ArrayList<>();

        useList5(list1);
        useList5(list2);
        useList5(list3);
        useList5(list4);
    }

    public static void useList1(ArrayList<Integer> list) {

    }

    public static void useList2(ArrayList<Number> list) {

    }

    public static void useList3(ArrayList<String> list) {

    }

    public static void useList4(ArrayList<Object> list) {

    }

    public static void useList5(ArrayList<?> list) {

    }
}
